package engine.newUi
{
	import engine.ui.lite.BaseUI;
	
	import flash.display.MovieClip;
	
	import newx.com.control.button.NxButton;
	import newx.com.control.group.NxViewGroup;
	import newx.com.control.text.NxInput;
	import newx.com.control.text.NxLabel;
	/**
	 * 发送邮件界面 
	 * @author liuel
	 * 
	 */	
	public class SendMailUI extends BaseUI
	{
		private static var _self:SendMailUI;
		public var frameBg:MovieClip;
		public var labelAddressee:MovieClip;
		public var txtAddressee:NxInput;
		public var label1:MovieClip;
		public var txtTitle:NxInput;
		public var label2:MovieClip;
		//		public var txtArea:MovieClip;
		public var txtcontent:NxInput;
		public var btnsend:NxButton;
//		public var labAccessoriesTip:NxLabel;
//		public var gridGroup:NxViewGroup;
		public var currTxt:NxLabel;
		public static function getInstance():SendMailUI
		{
			if(null == _self)
			{
				_self = new SendMailUI();	
			}
			return _self;
		}
		public function SendMailUI(popupUI:Boolean=true)
		{
			super(popupUI);
		}
		override public function Init() : void
		{
			SendMailLogic.getInstance().Init();
		}
		override protected function	BeforeShow():void
		{
			SendMailLogic.getInstance().BeforeShow();
		}
		override protected function	AfterHide():void
		{
			SendMailLogic.getInstance().BeforeShow();
		}
		
	}
}